Masteriyo\Checkout D

Total Complexity 141
Dependencies 12
Dependents 1
Total lines 1,119
Lines of code 517
Logical lines of code 279
Comment lines 462
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
validate_posted_data()
C
31 29 107
process_checkout()
A
40 15 56
maybe_skip_field()
A
49 14 28
process_user()
A
48 14 28
get_posted_data()
A
46 13 36
create_order()
A
43 12 45
create_user()
S
49 6 30
validate_checkout()
S
56 6 17
get_checkout_fields()
S
46 4 40
process_order_payment()
S
56 5 17
set_user_address_fields()
S
62 5 10
create_order_course_items()
S
53 3 23
send_ajax_failure_response()
S
59 3 14
process_order_without_payment()
S
58 2 16
get_value()
S
63 3 10
update_session()
S
63 1 11
check_cart_items()
S
81 1 3
init_hooks()
S
78 1 3
set_data_from_cart()
S
72 1 5
is_registration_required()
S
79 1 3
billing_form()
S
66 1 10
__construct()
S
74 1 5